@echo off
cls

echo hlex
hlex bin/caxe.hlx -cpp bin/lexer.exe
if errorlevel 1 goto fail

echo hllr
hllr bin/caxe.hlr cx-src/HLlr.cx -lalr1
if errorlevel 1 goto fail

exit

:fail

pause
exit
